package com.example.agriculturemachine.ui.fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

import com.example.agriculturemachine.R;
import com.example.agriculturemachine.base.BaseFragment;
import com.example.agriculturemachine.ui.activity.MainActivity;

import butterknife.BindView;

public class bindingFragment extends BaseFragment {

    @BindView(R.id.bindingCar)
    public Button mButton;

    @Override
    protected View loadRootView(LayoutInflater inflater, ViewGroup container) {
        return inflater.inflate(R.layout.fragment_binding,container,false);
    }


    @Override
    protected void initView() {


    }

    @Override
    protected void initEvent() {
       mButton.setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View v) {
               ((MainActivity)getActivity()).switchFragment(new selectFragment());
           }
       });
    }
}
